<%@ taglib uri="/tld/extremecomponents" prefix="ec" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

	<script src = "../js/jquery-1.12.1.js" type = "text/javascript"></script>
	<script src = "../js/common.js" type = "text/javascript"></script>
	<script src = "../js/highcharts.js"></script>
	<script src = "../js/highcharts-3d.js"></script>
	<link href="<%=request.getContextPath() %>/css/extremecomponents.css" rel="stylesheet" type="text/css" />
	<link href="<%=request.getContextPath() %>/css/global.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/css/H-ui.min.css" />
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/css/H-ui.admin.css" />
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/css/iconfont.css" />
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/css/skin.css" id="skin" />
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/css/style.css" />
<title>考试难度分析</title>
</head>
<script>

$(function() {
    //查询
    $("#btnsearch").click(
        function() {
            formPost(window.SearchState, '','paper?ActionType=paper_HardSelect', this);
       
            });
    });
</script>
<body>
<div id="current">当前位置：考试分析 &gt; 考试难度分析</div>

<form name="SearchState" method="post">
  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="search_table">
    <tr class="search_title_tr">
      <td colspan="4" class="search_title_L"><img src="../images/search_titleleft.jpg" width="84" height="30" align="top" /></td>
      <td width="25%" class="search_title_R"><img src="../images/search-titleright.jpg" width="8" height="30" align="top" /></td>
    </tr>
<tr>
      
      <td width="12%" class="search_td1">题号：</td>
      <td width="26%" class="search_td2">
        <select name = "TEST_ID" id = "TEST_ID">
        	<option value = "">选择题号</option>
        	<option value = "1">第一题</option>
        	<option value = "2" >第二题</option>
        	<option value = "3" >第三题</option>
        	<option value = "4" >第四题</option>
        	<option value = "5" >第五题</option>
        	<option value = "6" >第六题</option>
        	<option value = "7" >第七题</option>
        </select>
      </td>
      <td width="12%" class="search_td1">涉及章节：</td>
      <td width="26%" class="search_td2">
        <select name = "TEST_CHAPT" id = "TEST_CHAPT">
            <option value = "">选择章节</option>
        	<option value = "第一章">第一章</option>
        	<option value = "第二章" >第二章</option>
        	<option value = "第三章" >第三章</option>
        	<option value = "第四章" >第四章</option>
        	<option value = "第五章" >第五章</option>
        	<option value = "第六章" >第六章</option>
        	<option value = "第七章" >第七章</option>
        </select>
      </td>
      <td class="search_td2">
      <input id="btnsearch" name="btnsearch" type="button" class="btn_2" value="查询" /></td>
    </tr>
  </table>
  </form>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td class="search_shadow"></td>
    </tr>
    <tr>
        <td class="main_blank"></td>
    </tr>
</table>
<!--数据列表-START
<ec:table items="PAPERINFO" var="row"
    action="test?ActionType=test_ViewInit"
    view="html" 
    autoIncludeParameters="false"
     >
    
    <ec:exportXls fileName="userList.xls" />
    <ec:row>
        <ec:column property="id" style="text-align:center;" title="题号"/>
        <ec:column property="item_content" style="text-align:left;" title="题目内容" />
        <ec:column property="item_rate" style="text-align:center;" title="正确率" />
        <ec:column property="refer_chapter" style="text-align:center;" title="涉及章节"/>
        <ec:column property="ishard" style="text-align:center;" title="难易程度"/>
         <ec:column property="item_type" style="text-align:center;" title="题型">
        </ec:column>
    </ec:row>
</ec:table>-->
<div class="mt-20">
<table class="table table-border table-bordered table-bg table-hover table-sort">
    <thead>
				<tr class="text-c">
					<!-- <th width="25"><input type="checkbox" name="" value=""></th> -->
					<th width="105">题号</th>
					<th width="105">题目内容</th>
					<th width="105">正确率</th>
					<th width="105">难度系数</th>
					<th width="105">难易程度</th>
					<th width="105">涉及章节</th>
					<th width="105">题型</th>
				</tr>
			</thead>
			<tbody>
					 <c:forEach items="${PAPERINFO}"  var="paperList">
					 <tr class="text-c">
	                               <td class="item">${paperList.item}</td>
	                               <td class="item_content">${paperList.item_content}</td>
	                                 <td class="cort_rate">${paperList.cort_rate}</td>
	                               <td class="hard_rate">${paperList.hard_rate}</td>
	                                <td>
	                                <c:if test="${(paperList.hard_rate >0.8)||(paperList.hard_rate==0.8)}">难</c:if>
	                               			<c:if test="${paperList.hard_rate<0.8&&(paperList.hard_rate>0.2)||(paperList.hard_rate==0.2) }">中等</c:if>
	                               			<c:if test="${paperList.hard_rate<0.2}">简单</c:if>
	                                </td>
	                                <td class="refer_chapter">${paperList.refer_chapter }</td>
	                                <td class="item_type">${paperList.item_type}</td>
	                              
	                   </tr>
	                  </c:forEach>
			</tbody>
			</table>
</div>
<div id="container" class="container" style="display:none;height:250px;margin-left:auto;margin-right:auto;margin-top:10px;"></div>
</body>
</html>